package xyz.thoughtset.viewer.modules.step.entity;

import lombok.Data;
import xyz.thoughtset.viewer.modules.step.entity.block.BlockBodyEle;

@Data
//@NoArgsConstructor
//@AllArgsConstructor
public class SingleBody extends BaseBlockBody {

//    private String bodyType = BlockTypeEnum.SINGLE.getType();

    public BlockBodyEle getNode(){
        return this.getBodyEles().get(0);
    }

    @Override
    protected BlockTypeEnum supportType() {
        return BlockTypeEnum.SINGLE;
    }


}
